<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateProjectManageTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('project_manage', function (Blueprint $table) {
            $table->increments('id');
            $table->string('level')->comment('级别');
            $table->string('title')->comment('标题');
            $table->string('path')->nullable()->comment('文档下载');
            $table->string('date_time')->comment('时间');
            $table->string('schedule')->default(0)->comment('进度');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('project_manage');
    }
}
